﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace WCFServiceWebRole1.DataObjects
{
    [DataContract, Newtonsoft.Json.JsonObject(MemberSerialization = Newtonsoft.Json.MemberSerialization.OptIn)]
    public class ErrorData
    {
        public ErrorData(string detail)
        {
            Detail = detail;

        }

        [DataMember(Name="ErrorDetail"), Newtonsoft.Json.JsonProperty]
        public string Detail { get; set; }

        [DataMember(Name = "StackTrace"), Newtonsoft.Json.JsonProperty]
        public string StackTrace { get;  set; }

    }
}